package com.woniuxy.book.exception.useraddress;

public enum UserAddressExceptionCode {
    USER_ADDRESS_EXCEPTION_ADDRESS_NOTEXITS(70001,"该地址不存在"),
    USER_ADDRESS_EXCEPTION_ADDRESS_DEFAULTED(70002,"改地址已为默认 不能重复修改");
    private Integer code;
    private String message;

    UserAddressExceptionCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
